package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.OmcOldManTypeIetype;
import com.csun.cmny.provider.model.domain.OmcUserType;
import com.csun.cmny.provider.vo.OmcTypeIetypeDetailVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OmcOldManTypeIetypeMapper extends Mapper<OmcOldManTypeIetype> {

    /**
     * 根据人员类别ID查询人员类别减免
     * @param omcUserType
     * @return
     */
    List<OmcTypeIetypeDetailVo> selectByUserTypeId(OmcUserType omcUserType);

    /**
     * 根据组织机构ID,查询已配置减免比例的人员类别ID
     * @param groupId
     * @return
     */
    List<Long> selectUserTypeId(@Param("groupId") Long groupId);
}